<%@page import="org.springframework.web.context.request.SessionScope"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script type="text/javascript"	src="ui/jquery.min.js" charset="utf-8"></script>
<script type="text/javascript"	src="ui/jquery.easyui.min.js" charset="utf-8"></script>
<script type="text/javascript"	src="ui/locale/easyui-lang-zh_CN.js"	charset="utf-8"></script>
<link rel="stylesheet" type="text/css"	href="ui/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"	href="ui/themes/icon.css" />

<script type="text/javascript">
	$(function() {
		$('#mydatagrid').datagrid({
			title : '报警记录列表',
			iconCls : 'icon-ok',
			width : 600,
			pageSize : 5,
			pageList : [ 5, 10, 15, 20 ],
			nowrap : true,
			striped : true,
			collapsible : true,
			toolbar:"#tb",
			url:'getAllAlarmAction.action',
			fitColumns:true,
			remoteSort : false,
			pagination : true,
			rownumbers : true
		});	
		
	});
	
</script>	

</head>
<body>
	<table id="mydatagrid">
	   <thead>
	 		<tr>
				<th data-options="field:'username',width:100,align:'center'">车辆编号</th>
				<th data-options="field:'fencename',width:100,align:'center'">围栏名称</th>
				<th data-options="field:'description',width:100,align:'center'">报警信息</th>
				<th data-options="field:'createtime',width:100,align:'center'">报警时间</th>
			</tr>
		</thead>
	</table>
   
</body>
</html>